package cn.iocoder.yudao.module.design.enums.design;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;

/**
 * 上传类型枚举
 */
@Getter
@AllArgsConstructor
public enum DesignTypeEnum {
    /**
     * 上传类型枚举
     */
    PIC_UPLOAD_TYPE_ENUM_0("0","全案"),
    PIC_UPLOAD_TYPE_ENUM_1("1","非全案");


    private String code;

    private String name;


    public static final String[] GET_CODES = Arrays.stream(values()).map(DesignTypeEnum::getCode).toArray(String[]::new);

    public static final String[] GET_NAMES = Arrays.stream(values()).map(DesignTypeEnum::getName).toArray(String[]::new);

}
